<ion-view view-title="修改密码" cache-view="false">
  <ion-content class="my-bg">
    <form>
      <!-- 原密码 -->
      <ion-item class="item-input-inset">
        <span class="input-label">原密码</span>
        <input type="text" placeholder="请输入原密码" ng-model="user.oldpassword">
      </ion-item>
      <!-- 新密码 -->
      <ion-item class="item-input-inset">
        <span class="input-label">新密码</span>
        <input type="text" placeholder="请输入至少6位密码" ng-model="user.newpassword">
      </ion-item>
      <!-- 确认新密码 -->
      <ion-item class="item-input-inset">
        <span class="input-label">确认新密码</span>
        <input type="text" placeholder="请再输入一次密码" ng-model="user.surepassword">
      </ion-item>

      <br />

      <!-- 提交 -->
      <ion-item class="button-bar">
        <button class="button button-positive button-full button-clear" style="margin: -15px auto;" ng-click="resetandback()">完成</button>
      </ion-item>
    </form>
  </ion-content>
</ion-view>
